/*
 * @Author: suo.tianbao suo.tianbao@vpclub.cn
 * @Date: 2023-07-25
 * @LastEditors: suo.tianbao suo.tianbao@vpclub.cn
 * @LastEditTime: 2023-07-25 23:01:27
 * @FilePath: /element-admin/src/main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from "vue"
import App from "./App.vue"
import axios from 'axios' //如果需要axios，请引入
import router from "./router"
import ElementUI from 'element-ui' //引入element-ui库
import VueResource from "vue-resource"
import * as echarts from "echarts"

import "element-ui/lib/theme-chalk/index.css";
import "@/assets/css/bootstrap.min.css";
import "@/assets/css/default.css";
import "@/assets/css/main.css";

import {ElementTiptapPlugin} from "element-tiptap";
// 引入 import element-tiptap 样式
import "element-tiptap/lib/index.css";


import VForm from 'vform-builds' //引入VForm库
import 'element-ui/lib/theme-chalk/index.css' //引入element-ui样式
import 'vform-builds/dist/VFormDesigner.css' //引入VForm样式
import UploadFile from "@/components/upload/index";
import UploadFiles from "@/components/upload/index";
import UploadPic from "@/components/upload/index";
import UploadXls from "@/components/upload/index";
import QuarzeDrawer from "@/views/quartz/quartzDrawer/index";
import MemberDrawer from "@/views/members/memberDrawer/index";
import MemberFetch from "@/views/members/memberDrawer/index";
import MemberWeightCalDrawer from "@/views/hcm/MemberWeightDrawer/index";
import MemberWeightHisDrawer from "@/views/hcm/MemberWeightDrawer/index";
import FoodCatalogDrawer from "@/views/hcm/FoodCatalogDrawer/index";
import MemberPointHisDrawer from "@/views/members/memberPointHisDrawer/index";
import MemberRewardStrategyDrawer from "@/views/members/MemberRewardStrategyDrawer/index";
import MemberAddressDrawer from "@/views/members/memberAddressDrawer/index"
import FoodCalDinnerTabView from "@/views/hcm/FoodCalDinnerTabs/index";
import FoodCalHeatGapTabView from "@/views/hcm/FoodCalDinnerTabs/index";
import FoodCalDinnerTotTabView from "@/views/hcm/FoodCalDinnerTabs/index";
import ProjectCampInfoDrawer from "@/views/hcm/ProjectCampDrawer/index";
import SysDictInfoDrawer from "@/views/sys/SysDictInfoDrawer/index";
import CustDinnerMapDrawer from "@/views/hcm/CustDinnerMapDrawer/index";
import store from "@/store"


Vue.config.productionTip = false


Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueResource);
Vue.use(UploadFile);
Vue.use(UploadFiles);
Vue.use(UploadPic);
Vue.use(UploadXls);
Vue.use(QuarzeDrawer)
Vue.use(SysDictInfoDrawer)
Vue.use(MemberDrawer)
Vue.use(MemberFetch)
Vue.use(MemberAddressDrawer)
Vue.use(MemberWeightCalDrawer)
Vue.use(MemberWeightHisDrawer)
Vue.use(FoodCatalogDrawer)
Vue.use(MemberPointHisDrawer)
Vue.use(MemberRewardStrategyDrawer)
Vue.use(CustDinnerMapDrawer)
Vue.use(FoodCalDinnerTabView)
Vue.use(FoodCalHeatGapTabView)
Vue.use(FoodCalDinnerTotTabView)
Vue.use(ProjectCampInfoDrawer)


Vue.use(VForm)  //全局注册VForm(同时注册了v-form-designer和v-form-render组件)
/* 注意：如果你的项目中有使用axios，请用下面一行代码将全局axios复位为你的axios！！ */
window.axios = axios
// 安装 element-tiptap 插件
Vue.use(ElementTiptapPlugin, {
    /* 插件配置项 */
    lang: 'zh',
});
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
